getStringHeight(String,PDFFont,double) Method
Gets the height of the string wrapped at the specified width.
public static double getStringHeight(
java.lang.String ,
PDFFont ,
double
)
|
Parameters
- s
- String to measure.
- font
- Font used to draw the string.
- width
- Maximum width for wrapping.
Return Value
The total height of the text lines.